package com.bank.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import java.util.Date;

@Data
public class SeckillLog  implements Serializable {

	private static final long serialVersionUID =  6314214472623327723L;

	/**
	 * 产品id
	 */
	private String secid;

	/**
	 * 身份证号
	 */
	private Long memcardnum;

	/**
	 * 秒杀状态 -1:秒杀失败，0：秒杀成功
	 */
	private Integer status;

	/**
	 * 秒杀时间
	 */
	private Date createDatatime;

	/**
	 * 用户id
	 */
	private String memId;

	/**
	 * 订单id
	 */
    @TableId(type = IdType.ID_WORKER_STR)
	private String seckillorderid;

	/**
	 * 自增主键测试用
	 */
	private Long createId;

}
